package com.action;


import com.service.StudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/student")
public class StudentAction {

    @Autowired
    private StudentService studentService;

    @RequestMapping("/xk")
    public String addXuanKe() {
        studentService.addXuan(1, 1,2, 3);
        return "选课成功";
    }
}
